pygrub: Specify -rpath LIBEXEC_LIB when building fsimage.so
authorIan Jackson <ian.jackson@citrix.com>
Fri, 22 Feb 2019 12:24:35 +0000 (12:24 +0000)
committerIan Jackson <ian.jackson@citrix.com>
Thu, 28 Feb 2019 16:14:15 +0000 (16:14 +0000)
commit4a92f52070b1b8e757abecb6b5c71576f91b8741
treeacd775e2eb133837bdd8ea494133eeba53806e7d
parent3ccc0fbaaa582f669657cc93761b09df2a04b2d0
pygrub: Specify -rpath LIBEXEC_LIB when building fsimage.so

If LIBEXEC_LIB is not on the default linker search path, the python
fsimage.so module fails to find libfsimage.so.

Add the relevant directory to the rpath explicitly.

(This situation occurs in the Debian package, where
--with-libexec-libdir is used to put each Xen version's libraries and
utilities in their own directory, to allow them to be coinstalled.)

Signed-off-by: Ian Jackson <ian.jackson@citrix.com>
tools/pygrub/Makefile
tools/pygrub/setup.py